package br.com.alugargaragem.domain.login.service;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import br.com.alugargaragem.domain.login.business.LoginBusiness;
import br.com.alugargaragem.domain.login.model.Login;

@Service("loginService")
public class LoginServiceBean implements LoginService {

	@Resource
	private LoginBusiness loginBusiness;

	@Override
	public Login signin(Login login) {
		return this.loginBusiness.signin(login);
	}

	public void signup(Login login) {
		this.loginBusiness.signup(login);
	}
}
